package com.yt.sys.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 系统用户信息VO
 *
 * @author zhou
 * @Date 2025-09-03 14:25:55
 */
@Data
public class SysUserVO implements Serializable {
    @ApiModelProperty(value = "用户id")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "用户姓名")
    private String userName;
    @ApiModelProperty(value = "登录token")
    private String token;
    @ApiModelProperty(value = "角色")
    private String roleName;
    @ApiModelProperty(value = "用户头像")
    private String pic;
    @ApiModelProperty(value = "用户电话")
    private String phone;
    @ApiModelProperty(value = "用户邮箱")
    private String email;
    @ApiModelProperty(value = "角色id")
    private Long roleId;
    @ApiModelProperty(value = "用户状态（0启用 1封禁）")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "用户权限列表")
    private List<SysPermissionVO> permissionsList;
}
